import configUrls from "../urls/innerSite";
import { get, post } from "../axios";
export default {
  //站内信-未读消息分页
  fetchSysMessageUnReadPage(data: object) {
    return get(configUrls.sysMessageUnReadPage, data);
  },
  //站内信-未读消息数量
  fetchSysMessageUnReadCnt(data: object) {
    return get(configUrls.sysMessageUnReadCnt, data);
  },
  //站内信-标记为已读
  fetchSysMessageRead(data: object) {
    return post(configUrls.sysMessageRead, data);
  },
  //站内信-删除
  fetchSysMessageDelete(data: object) {
    return post(configUrls.sysMessageDelete, data);
  },
};
